package com.qf.service;

import com.qf.pojo.DtsGoods;
import com.qf.vo.GoodsAllinone;

import java.util.List;
import java.util.Map;

public interface GoodsService {

    long goodsCount();

    Map<String, Object> getPage(Integer page, Integer limit, String sort, String order, String number, String name, List<Integer> brandsIds);

    void insert(GoodsAllinone goodsAllinone);

    DtsGoods selectById(Integer goodsId);

    void updateGoods(DtsGoods goods);


    List<Map<String, Object>> select();
}
